<%@ page contentType="text/html" pageEncoding="UTF-8"%>

<%@taglib prefix="html" uri="http://struts.apache.org/tags-html"%>
<%@taglib prefix="bean" uri="http://struts.apache.org/tags-bean"%>
<%@taglib prefix="logic" uri="http://struts.apache.org/tags-logic" %>

<html:form action="/registrate" method="POST">
	<h2><bean:message key="common.data"/></h2>
	<br>
	<h4><bean:message key="registrate.name"/></h4>
	<html:text property="name"/>
	<br>
	
	<h4><bean:message key="registrate.surname"/></h4>
	<html:text property="surname"/>
	<br>

	<h4><bean:message key="registrate.username"/></h4>
	<html:text property="username"/>
	<br>

	<h4><bean:message key="registrate.password"/></h4>
	<html:password property="password"></html:password>
	<br/><br/>
	<button type="submit" class="btn btn-success">
		<bean:message key="common.submit"/>
	</button>
</html:form>